const { DataTypes } = require("sequelize");
const seq = require("../db/seq");

//创建模型类
const AiticleUser = seq.define("AiticleUser", {
  articleId: {
    type: DataTypes.INTEGER,
    allowNull: false,
    unique: false,
    comment:"面经Id",
  },
  userId: {
    type: DataTypes.INTEGER,
    allowNull: false,
    unique: false,
    comment: "用户Id",
  }
});

// aiticleUser.sync({ force: true })

module.exports = AiticleUser;
